//
//  YDYTopView.h
//  DY_Bilibili
//
//  Created by 杨德勇 on 2016/9/20.
//  Copyright © 2016年 杨德勇. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YDYTopViewDelegate<NSObject>
@optional
-(void)titleBtndidClick:(UIButton *)btn;
@end

@interface YDYTopView : UIView
/** 设置标题栏标签的数组 */
@property (nonatomic, strong) NSArray *titleArray;
/** 设置选中按钮高亮 */
@property (nonatomic, assign) NSInteger seletedTag ;
/** 代理对象 */
@property (nonatomic, weak) id <YDYTopViewDelegate>delegate;

@end
